package com.chenxin.wms.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenxin.wms.domain.ObDetailEntity;
import com.chenxin.wms.domain.po.ObDetailInfo;
import com.chenxin.wms.domain.vo.ObDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 出库明细单Mapper接口
 *
 * @author gry
 * @date 2025-04-15
 */
@Mapper
public interface ObDetailMapper extends BaseMapper<ObDetailEntity> {
    /**
     * 查询出库明细单列表
     *
     * @param obDetailVo 出库明细单
     * @return 出库明细单集合
     */
    List<ObDetailVO> selectObDetailViewList(ObDetailVO obDetailVo);

    /**
     * 查询出库明细单详情
     * @param obDetailId
     * @return
     */
    ObDetailInfo selectObDetailInfoById(@Param("obDetailId") Long obDetailId);

    ObDetailVO selectObDetailViewById(Long obDetailId);
}
